/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jiadakeji.ppm.modules.business.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jiadakeji.ppm.common.persistence.Page;
import com.jiadakeji.ppm.common.service.CrudService;
import com.jiadakeji.ppm.modules.business.entity.Advise;
import com.jiadakeji.ppm.modules.business.dao.AdviseDao;

/**
 * 投诉建议Service
 * @author HHAOYU
 * @version 2019-08-21
 */
@Service
@Transactional(readOnly = true)
public class AdviseService extends CrudService<AdviseDao, Advise> {

	@Override
	public Advise get(String id) {
		return super.get(id);
	}

	@Override
	public List<Advise> findList(Advise advise) {
		return super.findList(advise);
	}

	@Override
	public Page<Advise> findPage(Page<Advise> page, Advise advise) {
		return super.findPage(page, advise);
	}

	@Override
	@Transactional(readOnly = false)
	public void save(Advise advise) {
		super.save(advise);
	}


	@Override
	@Transactional(readOnly = false)
	public void delete(Advise advise) {
		//TODO 删除其它关联表
		
		super.delete(advise);
	}

}